package com.insurance;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author qcjstudy
 * @create 2022-11-30 10:57
 *
 * EnableScheduling注解开启定时任务
 *
 */
@SpringBootApplication
@MapperScan("com.insurance.mapper")
@EnableScheduling
@EnableSwagger2
public class InsuranceAppApplication {
    public static void main(String[] args) {
        SpringApplication.run(InsuranceAppApplication.class,args);
    }
}
